<?php
/* @var $this DefaultController */

$this->breadcrumbs=array(
	$this->module->id,
);

$this->left_sidebar=array(
	array('label'=>'Announcement', 'url'=>array('announcements/admin')),
	array('label'=>'Users', 'url'=>array('userprofiles/index')),
);

$this->left_sidebar=array(
	array('label'=>'Group', 'url'=>array('group/index')),
);
?>
<h1><?php echo $this->uniqueId . '/' . $this->action->id; ?></h1>

<p>
This is the view content for action "<?php echo $this->action->id; ?>".
The action belongs to the controller "<?php echo get_class($this); ?>"
in the "<?php echo $this->module->id; ?>" module.
</p>
<p>
You may customize this page by editing <tt><?php echo __FILE__; ?></tt>
</p>

<p>
	<?php 
		$str = "(0.2*(x)/((Lab 1 + Lab 2 + Lab 3) * (15 - 66)));";
		$str4 = "(0.2*(x)/((Lab 1 + Lab 2 + Lab 3) * (15 - 66)));";
		while(strpos($str,";") !== 0){
				$str2 = strpos($str, ')');
				$str1 = substr($str, 0 , $str2+1);
				$pos1 = strrpos($str1, '(');
				$pos2 = $str2 - $pos1;
				$str_r = substr($str, $pos1 , $str2+1) . "<br/>";
				$str = substr_replace($str, "", $pos1, $pos2+1);
				echo $str . "<br/>";
		//		break;
			}
		$token = strtok($str4,"()*+-/");
		while($token != false){
				echo $token . "<br/>";
				$token = strtok("()*/+-");
			}
	?>
</p>
<p>
<?php 
	/*$this->beginWidget('zii.widgets.CPortlet', array('title'=>'Menu1',));
	$this->widget('TeacherMenu1Widget');
	$this->endWidget();*/
 ?>
</p>